﻿using System;

namespace ControlHelper.Attributes
{
    /// <summary>
    /// 标记在超类属性上，有这个标记之后，当组合框选择时，组合框选择的是类型
    /// </summary>
    [System.AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
    public class ComboxTypeAttribute : Attribute
    {
        public ComboxTypeAttribute(Type interfaceType)
        {
            InterfaceType = interfaceType;
        }

        public Type InterfaceType { get; }
    }
}
